interface FetchAboutInfoAPIResData {
  code: number
  msg: string
  time: string
  data: {
    hospital: Hospital
    data: Doctor[]
    current_page: number
    total: number
    per_page: number
    last_page: number
  }
}

interface FetchAboutInfoAPIParams {
  page: string
  limit: string
}

export function fetchAboutInfoAPI(params: FetchAboutInfoAPIParams) {
  return httpInstance.get<FetchAboutInfoAPIResData, FetchAboutInfoAPIParams>(
    '/api/team/index',
    { params },
  )
}
